package com.zf.validation.entity;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * 嵌套
 */
@Getter
@Setter
public class NestSonEntity {
    @NotBlank(message = "孩子的名字不能为空")
    private String childName;
}
